-- GENERATED SPELL FOR [Mirefin Muckdweller] --


function spell0_4361(pUnit, Event) --@Creeping Mold,n/a--
pUnit:FullCastSpellOnTarget(6278,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4361', 3000, 1)
end

function Sorts_4361(pUnit, Event)
local choix_sorts_4361 = math.random(0, 0)
if choix_sorts_4361 == 0 then
pUnit:RegisterEvent('spell0_4361', 1, 1)
end
end

function mob4361_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4361', math.random(1500, 3000), 1)
end

function mob4361_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4361_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4361_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4361, 1, 'mob4361_Action')
RegisterUnitEvent(4361, 2, 'mob4361_Leave')
RegisterUnitEvent(4361, 3, 'mob4361_Kill')
RegisterUnitEvent(4361, 4, 'mob4361_Die')
